package com.kui.myrule;

import com.netflix.loadbalancer.IRule;
import com.netflix.loadbalancer.RandomRule;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * Created by 风 on 2021/5/27.
 */
@Configuration
public class KuiRule {
    @Bean
    public IRule myRule(){
        return new RandomRule();
    }
}
